#!/bin/bash

CUR_DIR=$(pwd)
QT_DIR=${CUR_DIR}/../../..

pushd ${QT_DIR} > /dev/null

cp ${QT_DIR}/qingtian-tools/examples/k8s/Dockerfile.k8s .
docker build -f Dockerfile.k8s -t hw/qingtian-enclave:latest .
rm Dockerfile.k8s

popd > /dev/null